﻿using UnityEngine;
using System.Collections;

public class scButtonPause : MonoBehaviour {

	// Use this for initialization
	void Start () {
	}
	
	// Update is called once per frame
	void Update () {
	}

	void OnMouseDown()
	{
		scGameManager.GamePause();

		Vector3 sc = new Vector3();
		sc.x = 0f;
		sc.y = 1f;
		sc.z = 1f;

		Vector3 my = Camera.main.ViewportToWorldPoint(sc);
		//iTween.MoveBy(pauseToolbox, iTween.Hash("x", 2.5, "easeType", iTween.EaseType.linear));
	}
}
